using B.Z.Inventory.API.Read.DTO;
using B.Z.Inventory.ErrorCode;
using MediatR;

namespace B.Z.Inventory.API.Read.Application.Command
{
    /// <summary>
    /// 库存预警查询命令
    /// </summary>
    public class LowStockAlertCommand : IRequest<APIResult<LowStockAlertDto>>
    {
        /// <summary>
        /// 仓库ID（可选筛选条件）
        /// </summary>
        public int? StoreId { get; set; }
        
        /// <summary>
        /// 预警级别（1:低库存预警，2:安全库存预警，3:缺货警告，null:全部）
        /// </summary>
        public int? AlertLevel { get; set; }
        
        /// <summary>
        /// 商品分类（可选筛选条件）
        /// </summary>
        public string? Category { get; set; }
    }
}